import {get, post, deletes, put,resGet,resPost,resPut,resDeletes} from "@/libs/axios";

/***********************路由**************************/

/**
 * 获取菜单树
 * @returns  res.data
 */
export const getPerTree =  () => {
  return new Promise((resolve, reject) => {
    get(`/api/user/permission/getTree`).then(res => {
      resolve(res);
    })
  });
}


